SerialStatelessReplayLatestSignalAsync class¶
Defined in
Namespace: ReactiveUI.Primitives.Async.Signals
Assembly: ReactiveUI.Primitives.Async.Core.dll
Full name: ReactiveUI.Primitives.Async.Signals.SerialStatelessReplayLatestSignalAsync<T>
Modifiers: public sealed
Summary¶
Represents a serial, stateless asynchronous Signal that replays only the last value to new observers and supports
asynchronous notification delivery.
Applies to
net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, net462, net481, net471
Class hierarchy
classDiagram
class SerialStatelessReplayLatestSignalAsync~T~
class ISignalAsync~T~ {
<>
}
ISignalAsync~T~ <|.. SerialStatelessReplayLatestSignalAsync~T~
class IObserverAsync~T~ {
<>
}
IObserverAsync~T~ <|.. SerialStatelessReplayLatestSignalAsync~T~
class IAsyncDisposable {
<>
}
IAsyncDisposable <|.. SerialStatelessReplayLatestSignalAsync~T~
class IObservableAsync~T~ {
<>
}
IObservableAsync~T~ <|.. SerialStatelessReplayLatestSignalAsync~T~
Implements: ISignalAsync
Remarks¶
This Signal delivers notifications to observers one at a time in the order they are received. It does not maintain any state beyond the most recent value, and only the last value (if any) is replayed to new subscribers. All observer notifications are dispatched asynchronously and serially, ensuring that each observer receives notifications in the correct order.
Constructors¶
| Name | Summary |
|---|---|
| .ctor | Represents a serial, stateless asynchronous Signal that replays only the last value to new observers and supports asynchronous notification delivery. |
Methods¶
| Name | Summary |
|---|---|
| OnNextAsync | Asynchronously processes the next value in the sequence. |
| OnErrorResumeAsync | Handles the specified error and resumes asynchronous processing, if possible. |
| OnCompletedAsync | Performs asynchronous completion logic in response to the specified result. |
| DisposeAsync | |
| SubscribeAsync | Subscribes the specified asynchronous observer to receive notifications from the observable sequence. |